package com.lmy.springbootMyBatisPlus;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 使用@MapperScan可以指定要扫描的mapper接口，basePackages可以指定多个包
 */
@MapperScan(basePackages = {"com.lmy.springbootMyBatisPlus.mapper"})
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
